package com.alibaba.otter.manager.web.mapstruct;

import com.alibaba.otter.manager.biz.statistics.table.param.BehaviorHistoryInfo;
import com.alibaba.otter.manager.web.dto.RecentTableStatDTO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;

import java.util.Map;

@Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
public interface TableStatMapper {

    Map<Long, RecentTableStatDTO> toRecentTableStat(Map<Long, BehaviorHistoryInfo> stat);
}
